﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TMIS.BLL
{
    public class Recommend
    {
        /// <summary>
        /// 获取ID号对应的论文推优信息
        /// </summary>
        /// <param name="guid"></param>
        /// <returns></returns>
        public string Get(Guid guid)
        {
            DAL.Recommend dal = DALFactory.DALFactory.CreateRecommend();
            return dal.Search(guid);
        }
        /// <summary>
        /// 更新论文推优表信息
        /// </summary>
        /// <param name="rec"></param>
        public void Update(Model.Recommend rec)
        {
            DAL.Recommend dal = DALFactory.DALFactory.CreateRecommend();
            dal.Update(rec);
        }
    }
}
